<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:a="https://github.com/pylonide/pylon" xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <script src="../ppc.js"></script>
    </head>
    <body>
        <a:skin src="../skins.xml" media-path="../images/" icon-path="../icons/" />
        
        <a:appsettings debug="1" />
        
        <a:state group="stRole" id="stUser" caption="You are a user" active="true" />
        <a:state group="stRole" id="stAdmin" caption="You have super powers" />
            
        <a:label value="{stRole.caption}" />
        <a:button onclick="stAdmin.activate()">Become admin</a:button>
    </body>
</html>